package com.tbit.uqbike.object.pojo;

import com.tbit.common.entity.BaseEntity;
import com.tbit.uqbike.annos.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author yao
 * @since 2025/2/28 10:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderHelmetLostLog extends BaseEntity {

    /**
     * 编号
     */
    private Integer id;
    /**
     * 区域编号
     */
    private Integer accountId;
    /**
     * 区域名称
     */
    @Excel(name = "运营区域", sort = 1)
    private String accountName;
    /**
     * 用户编号
     */
    private Integer userId;
    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名", sort = 3)
    private String username;
    /**
     * 手机号
     */
    @Excel(name = "手机号", sort = 4)
    private String phone;
    /**
     * 车辆主键编号
     */
    private Integer machineId;
    /**
     * 车辆编号
     */
    @Excel(name = "车辆编号", sort = 5)
    private String userCode;
    /**
     * 设备编号
     */
    @Excel(name = "设备编号", sort = 6)
    private String machineNo;
    /**
     * 订单编号
     */
    @Excel(name = "订单编号", sort = 7)
    private String orderNo;
    /**
     * 头盔状态
     */
    @Excel(name = "头盔状态", sort = 8, readConverterExp = "1=头盔在位,5=头盔丢失")
    private Integer helmetStatus;
    /**
     * 备注
     */
    @Excel(name = "备注", sort = 9)
    private String remark;

    @Excel(name = "时间", sort = 2, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}

